﻿using Abp.Application.Services.Dto;
using System;

namespace ARchGL.Platform.Juneng.ViewDtos
{
    /// <summary>
    /// 模型组Dto
    /// </summary>
    public class ProjectModelGroupsDto : EntityDto<Guid>
    {
        /// <summary>
        /// 所属项目Id
        /// </summary>
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 模型组名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string CreatorUserName { get; set; }
        /// <summary>
        /// 模型组图片地址
        /// </summary>
        public string ImageUrl { get; set; }
        /// <summary>
        /// 当前模型文件总数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 模型组解析标识
        /// </summary>
        public Guid TaskId { get; set; }
        /// <summary>
        /// 转换状态：0未转换、1转换失败、2转换中、3转换成功
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建时间戳
        /// </summary>
        public long CreationUniversalTime { get { return CreationTime.ToUnixTimestamp(); } }
    }
}
